package com.xebest.web.service;

import java.util.List;

import com.xebest.web.form.XeVenOrderEnteringLogisticsForm;
import com.xebest.web.model.XeVenOrderLogisticsDetail;
import com.xebest.web.view.XeVenOrderEnteringLogisticsView;

public interface XeVenOrderEnteringLogisticsService {

	List<XeVenOrderEnteringLogisticsView> queryEnteringLogisticsList(XeVenOrderEnteringLogisticsForm form);

	XeVenOrderEnteringLogisticsView queryOrderLogisticsInfo(XeVenOrderEnteringLogisticsForm form);

	void saveEnteringLogistics(XeVenOrderEnteringLogisticsForm form, List<XeVenOrderEnteringLogisticsForm> formList);

	XeVenOrderEnteringLogisticsView queryEnteringLogisticsById(XeVenOrderEnteringLogisticsForm form);

	void editEnteringLogistics(XeVenOrderEnteringLogisticsForm form , List<XeVenOrderEnteringLogisticsForm> formList);

	void cancelEnteringLogistics(Integer id);
	
	void deletelEnteringLogistics(Integer id);

	Integer queryOrderLogisticsCreateLogisticType(String orderId);

	List<XeVenOrderLogisticsDetail> queryEnteringLogisticsDetailListByOrderId(String orderId);

	XeVenOrderLogisticsDetail getLatestLogistics(String userId);

}
